<?php 
class home extends CI_Controller {

function home()
         {
   parent::__construct();
   $this->load->helper("url_helper");
    $this->load->model('home_model');
	  $this->load->model('common_model');
       session_start();

       }
	 
	public function index(){


		$result=$this->common_model->getKeywords('home'); 
		$data['keywords']=$result;

		$courses=$contactresponse=$this->home_model->displaycourses();
         $data['display_courses']="";
          if($courses!=false)
		 {
		 $data['display_courses']=$courses;
		 }
		$this->load->view('home',$data);
	}
}

 